package dto

import (
	"vrcm/src/vrcm/common/dto"
	common "vrcm/src/vrcm/common/models"
)

type SetManageGetPageReq struct {
	dto.Pagination `search:"-"`
	TenantId       string `json:"tenant_id"  search:"type:exact;column:tenant_id;table:set_manage"`
}

func (m *SetManageGetPageReq) GetNeedSearch() interface{} {
	return *m
}

type SetManageGetReq struct {
	Id int `uri:"id"`
}

type SetMangeInsertReq struct {
	Id       int    `json:"-" comment:""` //
	TenantId string `json:"tenant_id" comment:"租户"`
	SetName  string `json:"set_name" comment:"片场名"`
	common.ControlBy
}

type SetMangeUpdateReq struct {
	Id       int    `json:"id" comment:""` //
	TenantId string `json:"tenant_id" comment:"租户"`
	SetName  string `json:"set_name" comment:"片场名"`
	common.ControlBy
}

type GetSetReq struct {
	Id       int    `json:"id" comment:""` //
	TenantId string `json:"tenant_id" comment:"租户"`
}

type SetManageDeleteReq struct {
	Ids []int `json:"ids"`
}
